<%#

This file is part of Diligence

Copyright 2011-2012 Three Crickets LLC.

The contents of this file are subject to the terms of the LGPL version 3.0:
http://www.gnu.org/copyleft/lesser.html

Alternatively, you can obtain a royalty free commercial license with less
limitations, transferable or non-transferable, directly from Three Crickets
at http://threecrickets.com/

%><%& '/site/header/' %>
<%

document.executeOnce('/diligence/service/authentication/')
var session = Diligence.Authentication.getCurrentSession(conversation)
var user = session ? session.getUser() : null
if (user) {
	document.include('/diligence/service/authentication/info/')
}
else {
	var form = new Diligence.Authentication.Form({conversation: conversation})
	form.handle({conversation: conversation, mode: 'include'})
}

%>
<%& '/site/footer/' %>
